

import 'package:fijkplayer/fijkplayer.dart';
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';
import 'package:xim/common/get_style_view.dart';

import 'video_view_controller.dart';
import 'video_view_style.dart';

class VideoViewPage extends GetStyleControllerView<dynamic, VideoViewController, VideoViewStyle>{

  VideoViewPage({super.key});

  @override
  Widget buildView(BuildContext context, data) {
    return Scaffold(
        appBar: AppBar(title: Text("Fijkplayer Example")),
        body: Container(
          alignment: Alignment.center,
          child: VideoPlayer(controller.videoPlayerController),
          // child: FijkView(
          //   player: controller.player,
          // ),
        )
    );
  }

}